<?php
/**
 * login page installer
 *
 * @copyright		The XOOPS project http://www.xoops.org/
 * @license			http://www.fsf.org/copyleft/gpl.html GNU General Public License (GPL)
 * @package			installer
 * @since			2.0.18
 * @version			$Id: login.php 596 2006-06-30 03:14:03Z skalpa $
 *
 * @author			Haruki Setoyama  <haruki@planewave.org>
 * @author			Kazumi Ono <webmaster@myweb.ne.jp>
 * @author			Skalpa Keo <skalpa@xoops.org>
 * @author			dugris <dugris@frxoops.org>
**/

if ( !defined('XOOPS_INSTALL') ) { die('XOOPS Custom Installation die'); }

$wizard =& new XoopsInstallWizard();
$wizard->pages		= array( 'login' );
$wizard->pagesNames	= array( LOGIN );
$wizard->pagesTitles	= array( LOGIN_TITLE );
$wizard->setPage( 'login' );
//$wizard->actionForm = './include/checklogin.php?op=login';

$pageHasForm = true;
$pageHasHelp = false;

ob_start();

echo "<fieldset><legend>" . USER_LOGIN . "</legend>";
echo xoFormField( 'uname',	'', USERNAME );
echo xoPassField( 'pass',	'', PASSWORD );
echo "</fieldset>";
echo "<input type='hidden' name='xoops_redirect' value='" . $_SERVER['PHP_SELF'] . "' />";

$content = ob_get_contents();
ob_end_clean();
include 'install_tpl.php';
exit();

?>